﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using G.Navigate;

namespace FY13.View
{
    public partial class HotelInfoPage : GBasePage
    {
        public HotelInfoPage()
        {
            InitializeComponent();
        }

        private void btnBack_Click(object sender, EventArgs e)
        {
            this.GoBack();
        }

        private void btnMy_Click(object sender, EventArgs e)
        {
            GloabalData.GoUserInfo();
        }

        private void StackPanel_Tap(object sender, System.Windows.Input.GestureEventArgs e)
        {
            StackPanel stack = sender as StackPanel;
            Image img = stack.Children[0] as Image;
            BrowserImageChildwindow c = new BrowserImageChildwindow(img.Source);
            c.IsOpen = true;
        }
    }
}